package com.sinopec.basemodule.adapter

import android.view.View
import com.sinopec.basemodule.R
import com.sinopec.basemodule.model.PresortedSkuDtos
import kotlinx.android.synthetic.main.product_name_item_popuwindow.view.*

/**
 * @author lwj
 * @ClassName: ProductNameSortOrderBatchSpinnerAdapter
 * @Description:分拣-按单选择批次弹窗-业务类型spinner
 */
class ProductNameSortOrderBatchSpinnerAdapter : BaseSpinnerAdapter<PresortedSkuDtos>(R.layout.product_name_item_popuwindow) {
    override fun onBindView(position: Int, convertView: View, data: PresortedSkuDtos?) {
        val tv_name = convertView.tv_name
        tv_name.text =data?.productTypeName
    }
}